﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using yncTech.BusinessObjects;

public partial class Admin_Sys_Dic_Dic_Company : AdminBasePage
{
  
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    protected void PageChanged(object sender, DataGridPageChangedEventArgs e)
    {
        BFCompanyDicCollection companies = new BFCompanyDicCollection();
        companies.Query.OrderBy(companies.Query.CompanyCode.Ascending);

        pageGrid.DataSource = companies.Query.LoadDataTable();
        pageGrid.CurrentPage = e.NewPageIndex;
        pageGrid.DataBind();
    }
}